[INFO] cloning repository https://github.com/ashley-logan/food_web
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ashley-logan/food_web" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashley-logan%2Ffood_web", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashley-logan%2Ffood_web'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4fc733d9cc688243b3872785990251775f85e24e
[INFO] fixing ashley-logan/food_web against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashley-logan%2Ffood_web" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ashley-logan/food_web
[INFO] finished tweaking git repo https://github.com/ashley-logan/food_web
[INFO] tweaked toml for git repo https://github.com/ashley-logan/food_web written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ashley-logan/food_web on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ashley-logan/food_web already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded argh_derive v0.1.13
[INFO] [stderr]   Downloaded argh_shared v0.1.13
[INFO] [stderr]   Downloaded argh v0.1.13
[INFO] [stderr]   Downloaded rust-fuzzy-search v0.1.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 5b0e5883cd26311184b6c4250084a3db3ef10a7d1376f9eca6599eb71e3d4a76
[INFO] running `Command { std: "docker" "start" "5b0e5883cd26311184b6c4250084a3db3ef10a7d1376f9eca6599eb71e3d4a76", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5b0e5883cd26311184b6c4250084a3db3ef10a7d1376f9eca6599eb71e3d4a76" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5b0e5883cd26311184b6c4250084a3db3ef10a7d1376f9eca6599eb71e3d4a76", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5b0e5883cd26311184b6c4250084a3db3ef10a7d1376f9eca6599eb71e3d4a76" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling argh_shared v0.1.13
[INFO] [stderr]     Checking rust-fuzzy-search v0.1.1
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling serde_derive v1.0.226
[INFO] [stderr]    Compiling argh_derive v0.1.13
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]     Checking thiserror v2.0.17
[INFO] [stderr]     Checking serde v1.0.226
[INFO] [stderr]     Checking argh v0.1.13
[INFO] [stderr]     Checking food_web v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find value `ind_pair` in this scope
[INFO] [stdout]   --> src/main.rs:72:13
[INFO] [stdout]    |
[INFO] [stdout] 72 |             ind_pair.push(ind as usize);
[INFO] [stdout]    |             ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ind_pair` in this scope
[INFO] [stdout]   --> src/main.rs:72:13
[INFO] [stdout]    |
[INFO] [stdout] 72 |             ind_pair.push(ind as usize);
[INFO] [stdout]    |             ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: type alias takes 1 generic argument but 2 generic arguments were supplied
[INFO] [stdout]   --> src/main.rs:98:16
[INFO] [stdout]    |
[INFO] [stdout] 98 |         let r: Result<String, io::Error> = io::read_to_string(io::stdin()); // read input to string and trim it (TODO ERROR CHECK)
[INFO] [stdout]    |                ^^^^^^       ----------- help: remove the unnecessary generic argument
[INFO] [stdout]    |                |
[INFO] [stdout]    |                expected 1 generic argument
[INFO] [stdout]    |
[INFO] [stdout] note: type alias defined here, with 1 generic parameter: `T`
[INFO] [stdout]   --> src/errors.rs:20:10
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub type Result<T> = core::result::Result<T, InputError>;
[INFO] [stdout]    |          ^^^^^^ -
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: type alias takes 1 generic argument but 2 generic arguments were supplied
[INFO] [stdout]   --> src/main.rs:98:16
[INFO] [stdout]    |
[INFO] [stdout] 98 |         let r: Result<String, io::Error> = io::read_to_string(io::stdin()); // read input to string and trim it (TODO ERROR CHECK)
[INFO] [stdout]    |                ^^^^^^       ----------- help: remove the unnecessary generic argument
[INFO] [stdout]    |                |
[INFO] [stdout]    |                expected 1 generic argument
[INFO] [stdout]    |
[INFO] [stdout] note: type alias defined here, with 1 generic parameter: `T`
[INFO] [stdout]   --> src/errors.rs:20:10
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub type Result<T> = core::result::Result<T, InputError>;
[INFO] [stdout]    |          ^^^^^^ -
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:98:44
[INFO] [stdout]    |
[INFO] [stdout] 98 |         let r: Result<String, io::Error> = io::read_to_string(io::stdin()); // read input to string and trim it (TODO ERROR CHECK)
[INFO] [stdout]    |                -------------------------   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<String, InputError>`, found `Result<String, Error>`
[INFO] [stdout]    |                |
[INFO] [stdout]    |                expected due to this
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `std::result::Result<_, InputError>`
[INFO] [stdout]               found enum `std::result::Result<_, std::io::Error>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:98:44
[INFO] [stdout]    |
[INFO] [stdout] 98 |         let r: Result<String, io::Error> = io::read_to_string(io::stdin()); // read input to string and trim it (TODO ERROR CHECK)
[INFO] [stdout]    |                -------------------------   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<String, InputError>`, found `Result<String, Error>`
[INFO] [stdout]    |                |
[INFO] [stdout]    |                expected due to this
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `std::result::Result<_, InputError>`
[INFO] [stdout]               found enum `std::result::Result<_, std::io::Error>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:136:40
[INFO] [stdout]     |
[INFO] [stdout] 136 |                     Ok(i) => check_ind(i, &web)
[INFO] [stdout]     |                              --------- ^ expected `isize`, found `usize`
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/errors.rs:26:8
[INFO] [stdout]     |
[INFO] [stdout]  26 | pub fn check_ind(i: isize, web: &WebBuilder) -> Result<isize> {
[INFO] [stdout]     |        ^^^^^^^^^ --------
[INFO] [stdout] help: you can convert a `usize` to an `isize` and panic if the converted value doesn't fit
[INFO] [stdout]     |
[INFO] [stdout] 136 |                     Ok(i) => check_ind(i.try_into().unwrap(), &web)
[INFO] [stdout]     |                                         ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:136:40
[INFO] [stdout]     |
[INFO] [stdout] 136 |                     Ok(i) => check_ind(i, &web)
[INFO] [stdout]     |                              --------- ^ expected `isize`, found `usize`
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/errors.rs:26:8
[INFO] [stdout]     |
[INFO] [stdout]  26 | pub fn check_ind(i: isize, web: &WebBuilder) -> Result<isize> {
[INFO] [stdout]     |        ^^^^^^^^^ --------
[INFO] [stdout] help: you can convert a `usize` to an `isize` and panic if the converted value doesn't fit
[INFO] [stdout]     |
[INFO] [stdout] 136 |                     Ok(i) => check_ind(i.try_into().unwrap(), &web)
[INFO] [stdout]     |                                         ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:136:30
[INFO] [stdout]     |
[INFO] [stdout] 136 |                     Ok(i) => check_ind(i, &web)
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^ expected `()`, found `Result<isize, InputError>`
[INFO] [stdout] 137 |                 }
[INFO] [stdout]     |                  - help: consider using a semicolon here: `;`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected unit type `()`
[INFO] [stdout]                     found enum `std::result::Result<isize, InputError>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:136:30
[INFO] [stdout]     |
[INFO] [stdout] 136 |                     Ok(i) => check_ind(i, &web)
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^ expected `()`, found `Result<isize, InputError>`
[INFO] [stdout] 137 |                 }
[INFO] [stdout]     |                  - help: consider using a semicolon here: `;`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected unit type `()`
[INFO] [stdout]                     found enum `std::result::Result<isize, InputError>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:139:24
[INFO] [stdout]     |
[INFO] [stdout] 116 |     let mut pred_ind: usize;
[INFO] [stdout]     |                       ----- expected due to this type
[INFO] [stdout] ...
[INFO] [stdout] 139 |             pred_ind = inds[0].parse::<usize>();
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^ expected `usize`, found `Result<usize, ParseIntError>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `usize`
[INFO] [stdout]                found enum `std::result::Result<usize, ParseIntError>`
[INFO] [stdout] help: consider using `Result::expect` to unwrap the `std::result::Result<usize, ParseIntError>` value, panicking if the value is a `Result::Err`
[INFO] [stdout]     |
[INFO] [stdout] 139 |             pred_ind = inds[0].parse::<usize>().expect("REASON");
[INFO] [stdout]     |                                                +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:139:24
[INFO] [stdout]     |
[INFO] [stdout] 116 |     let mut pred_ind: usize;
[INFO] [stdout]     |                       ----- expected due to this type
[INFO] [stdout] ...
[INFO] [stdout] 139 |             pred_ind = inds[0].parse::<usize>();
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^ expected `usize`, found `Result<usize, ParseIntError>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `usize`
[INFO] [stdout]                found enum `std::result::Result<usize, ParseIntError>`
[INFO] [stdout] help: consider using `Result::expect` to unwrap the `std::result::Result<usize, ParseIntError>` value, panicking if the value is a `Result::Err`
[INFO] [stdout]     |
[INFO] [stdout] 139 |             pred_ind = inds[0].parse::<usize>().expect("REASON");
[INFO] [stdout]     |                                                +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:140:24
[INFO] [stdout]     |
[INFO] [stdout] 117 |     let mut prey_ind: usize;
[INFO] [stdout]     |                       ----- expected due to this type
[INFO] [stdout] ...
[INFO] [stdout] 140 |             prey_ind = inds[1].parse::<usize>();
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^ expected `usize`, found `Result<usize, ParseIntError>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `usize`
[INFO] [stdout]                found enum `std::result::Result<usize, ParseIntError>`
[INFO] [stdout] help: consider using `Result::expect` to unwrap the `std::result::Result<usize, ParseIntError>` value, panicking if the value is a `Result::Err`
[INFO] [stdout]     |
[INFO] [stdout] 140 |             prey_ind = inds[1].parse::<usize>().expect("REASON");
[INFO] [stdout]     |                                                +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:140:24
[INFO] [stdout]     |
[INFO] [stdout] 117 |     let mut prey_ind: usize;
[INFO] [stdout]     |                       ----- expected due to this type
[INFO] [stdout] ...
[INFO] [stdout] 140 |             prey_ind = inds[1].parse::<usize>();
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^ expected `usize`, found `Result<usize, ParseIntError>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `usize`
[INFO] [stdout]                found enum `std::result::Result<usize, ParseIntError>`
[INFO] [stdout] help: consider using `Result::expect` to unwrap the `std::result::Result<usize, ParseIntError>` value, panicking if the value is a `Result::Err`
[INFO] [stdout]     |
[INFO] [stdout] 140 |             prey_ind = inds[1].parse::<usize>().expect("REASON");
[INFO] [stdout]     |                                                +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:141:23
[INFO] [stdout]     |
[INFO] [stdout] 141 |             check_ind(pred_ind, &web);
[INFO] [stdout]     |             --------- ^^^^^^^^ expected `isize`, found `usize`
[INFO] [stdout]     |             |
[INFO] [stdout]     |             arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/errors.rs:26:8
[INFO] [stdout]     |
[INFO] [stdout]  26 | pub fn check_ind(i: isize, web: &WebBuilder) -> Result<isize> {
[INFO] [stdout]     |        ^^^^^^^^^ --------
[INFO] [stdout] help: you can convert a `usize` to an `isize` and panic if the converted value doesn't fit
[INFO] [stdout]     |
[INFO] [stdout] 141 |             check_ind(pred_ind.try_into().unwrap(), &web);
[INFO] [stdout]     |                               ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:141:23
[INFO] [stdout]     |
[INFO] [stdout] 141 |             check_ind(pred_ind, &web);
[INFO] [stdout]     |             --------- ^^^^^^^^ expected `isize`, found `usize`
[INFO] [stdout]     |             |
[INFO] [stdout]     |             arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/errors.rs:26:8
[INFO] [stdout]     |
[INFO] [stdout]  26 | pub fn check_ind(i: isize, web: &WebBuilder) -> Result<isize> {
[INFO] [stdout]     |        ^^^^^^^^^ --------
[INFO] [stdout] help: you can convert a `usize` to an `isize` and panic if the converted value doesn't fit
[INFO] [stdout]     |
[INFO] [stdout] 141 |             check_ind(pred_ind.try_into().unwrap(), &web);
[INFO] [stdout]     |                               ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:142:23
[INFO] [stdout]     |
[INFO] [stdout] 142 |             check_ind(prey_ind, &web);
[INFO] [stdout]     |             --------- ^^^^^^^^ expected `isize`, found `usize`
[INFO] [stdout]     |             |
[INFO] [stdout]     |             arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/errors.rs:26:8
[INFO] [stdout]     |
[INFO] [stdout]  26 | pub fn check_ind(i: isize, web: &WebBuilder) -> Result<isize> {
[INFO] [stdout]     |        ^^^^^^^^^ --------
[INFO] [stdout] help: you can convert a `usize` to an `isize` and panic if the converted value doesn't fit
[INFO] [stdout]     |
[INFO] [stdout] 142 |             check_ind(prey_ind.try_into().unwrap(), &web);
[INFO] [stdout]     |                               ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:142:23
[INFO] [stdout]     |
[INFO] [stdout] 142 |             check_ind(prey_ind, &web);
[INFO] [stdout]     |             --------- ^^^^^^^^ expected `isize`, found `usize`
[INFO] [stdout]     |             |
[INFO] [stdout]     |             arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/errors.rs:26:8
[INFO] [stdout]     |
[INFO] [stdout]  26 | pub fn check_ind(i: isize, web: &WebBuilder) -> Result<isize> {
[INFO] [stdout]     |        ^^^^^^^^^ --------
[INFO] [stdout] help: you can convert a `usize` to an `isize` and panic if the converted value doesn't fit
[INFO] [stdout]     |
[INFO] [stdout] 142 |             check_ind(prey_ind.try_into().unwrap(), &web);
[INFO] [stdout]     |                               ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0308, E0425.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0308, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `food_web` (bin "food_web") due to 9 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `food_web` (bin "food_web" test) due to 9 previous errors
[INFO] running `Command { std: "docker" "inspect" "5b0e5883cd26311184b6c4250084a3db3ef10a7d1376f9eca6599eb71e3d4a76", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5b0e5883cd26311184b6c4250084a3db3ef10a7d1376f9eca6599eb71e3d4a76", kill_on_drop: false }`
[INFO] [stdout] 5b0e5883cd26311184b6c4250084a3db3ef10a7d1376f9eca6599eb71e3d4a76
